
/****** Object:  Stored Procedure [dbo].HistoriesGet    Script Date: Monday, July 27, 2009 ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[spHistoriesGet]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[spHistoriesGet]
GO

	
			
	
/******************************************************************************
**		File: 
**		Name: [dbo].spHistoriesGet
**		Desc: 
**
**		Return values:
** 
**		Called by:   
**              
**		Parameters:
**		Input							Output
**     ----------							-----------
**
**		Auth: CodeSmith
**		Date: 7/27/2009 4:18:20 PM
*******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:				Description:
**		--------		--------				-------------------------------------------
**    
*******************************************************************************/
CREATE PROCEDURE [dbo].spHistoriesGet
	@HistoryId int
AS

SELECT
	[HistoryId],
	[ReceiverId],
	[SenderId],
	[Message],
	[CreationDate]
FROM
	[dbo].[Histories]
WHERE
	[HistoryId] = @HistoryId

GO
	

	

